import request from '@/utils/request'

// 查询离校申请列表
export function listLeave_sup_manager(query) {
  return request({
    url: '/gradu_info/leave_sup_manager/list',
    method: 'get',
    params: query
  })
}

// 查询离校申请详细
export function getLeave_sup_manager(proveId) {
  return request({
    url: '/gradu_info/leave_sup_manager/' + proveId,
    method: 'get'
  })
}

// 新增离校申请
export function addLeave_sup_manager(data) {
  return request({
    url: '/gradu_info/leave_sup_manager',
    method: 'post',
    data: data
  })
}

// 修改离校申请
export function updateLeave_sup_manager(data) {
  return request({
    url: '/gradu_info/leave_sup_manager',
    method: 'put',
    data: data
  })
}

// 删除离校申请
export function delLeave_sup_manager(proveId) {
  return request({
    url: '/gradu_info/leave_sup_manager/' + proveId,
    method: 'delete'
  })
}
